package com.mayihr.fx.attributeBind.TableViewWithAddButtonExample;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class Person {
    private String firstName;
    private String lastName;
    private String info;

    public Person(String firstName, String lastName, String info) {
        setFirstName(firstName);
        setLastName(lastName);
        setInfo(info);
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
